#include<stdio.h>
int main(){
    int n;
    printf("202\n212\n222\n232\n242\n252\n262\n272\n282\n292\n303\n313\n323\n333\n343\n353\n363\n373\n383\n393\n404\n414\n424\n434\n444\n454\n464\n474\n484\n494\n505\n515\n525\n535\n545\n555\n565\n575\n585\n595\n606\n616\n626\n636\n646\n656\n666\n676\n686\n696\n707\n717\n727\n737\n747\n757\n767\n777\n787\n797\n808\n818\n828\n838\n848\n858\n868\n878\n888\n898\n909\n919\n929\n939\n949\n959\n969\n979\n989\n999\n1001\n1111\n1221\n1331\n1441\n1551\n1661\n1771\n1881\n1991\n2002\n2112\n2222\n2332\n2442\n2552\n2662\n2772\n2882\n2992");
return 0;    
}